[INFO] cloning repository https://github.com/guswns0528/matrix-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/guswns0528/matrix-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguswns0528%2Fmatrix-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguswns0528%2Fmatrix-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 76f338500a7834f5192d8f0bebfa0c003af59a06
[INFO] testing guswns0528/matrix-rs against try#46592174fb13958bb9a2aa0d7af6c1224e1d7143 for pr-83796
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguswns0528%2Fmatrix-rs" "/workspace/builds/worker-3/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/guswns0528/matrix-rs on toolchain 46592174fb13958bb9a2aa0d7af6c1224e1d7143
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/guswns0528/matrix-rs
[INFO] finished tweaking git repo https://github.com/guswns0528/matrix-rs
[INFO] tweaked toml for git repo https://github.com/guswns0528/matrix-rs written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] crate git repo https://github.com/guswns0528/matrix-rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating git repository `https://github.com/jeaye/ncurses-rs.git`
[INFO] [stderr] error: the lock file /workspace/builds/worker-3/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating git repository `https://github.com/jeaye/ncurses-rs.git`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 634f9f0908eef408f1fb8199249a599021b991a7eaa44c13656a3824dd8b4315
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "634f9f0908eef408f1fb8199249a599021b991a7eaa44c13656a3824dd8b4315", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "634f9f0908eef408f1fb8199249a599021b991a7eaa44c13656a3824dd8b4315", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "634f9f0908eef408f1fb8199249a599021b991a7eaa44c13656a3824dd8b4315", kill_on_drop: false }`
[INFO] [stdout] 634f9f0908eef408f1fb8199249a599021b991a7eaa44c13656a3824dd8b4315
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4313f29bc44bb7cbed36fbd5b1fb370000863012fbe9bbc823891411e01d2af2
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "4313f29bc44bb7cbed36fbd5b1fb370000863012fbe9bbc823891411e01d2af2", kill_on_drop: false }`
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling pkg-config v0.3.19
[INFO] [stderr]    Compiling ppv-lite86 v0.2.10
[INFO] [stderr]    Compiling getrandom v0.2.2
[INFO] [stderr]    Compiling rand_core v0.6.2
[INFO] [stderr]    Compiling rand_chacha v0.3.0
[INFO] [stderr]    Compiling ncurses v5.100.0 (https://github.com/jeaye/ncurses-rs.git#0d8621e8)
[INFO] [stderr]    Compiling rand v0.8.3
[INFO] [stderr]    Compiling matrix v1.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `rand::sample`
[INFO] [stdout]  --> src/matrix.rs:6:32
[INFO] [stdout]   |
[INFO] [stdout] 6 | use rand::{random, thread_rng, sample};
[INFO] [stdout]   |                                ^^^^^^ no `sample` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `funcs` in `libc`
[INFO] [stdout]  --> src/matrix.rs:8:17
[INFO] [stdout]   |
[INFO] [stdout] 8 | use self::libc::funcs::posix88::unistd::usleep;
[INFO] [stdout]   |                 ^^^^^ could not find `funcs` in `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `rand::distributions::IndependentSample`, `rand::distributions::Range`
[INFO] [stdout]  --> src/matrix.rs:7:27
[INFO] [stdout]   |
[INFO] [stdout] 7 | use rand::distributions::{IndependentSample, Range};
[INFO] [stdout]   |                           ^^^^^^^^^^^^^^^^^  ^^^^^ no `Range` in `distributions`
[INFO] [stdout]   |                           |
[INFO] [stdout]   |                           no `IndependentSample` in `distributions`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `usleep` in this scope
[INFO] [stdout]   --> src/matrix.rs:63:17
[INFO] [stdout]    |
[INFO] [stdout] 63 |                 usleep((1000000.0 / REFRESH_RATE as f64) as u32);
[INFO] [stdout]    |                 ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 5  | use matrix::libc::usleep;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `random`
[INFO] [stdout]  --> src/matrix.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | use rand::{random, thread_rng, sample};
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
[INFO] [stdout]  --> src/matrix.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | extern crate libc;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stdout]   = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/matrix.rs:106:62
[INFO] [stdout]     |
[INFO] [stdout] 106 |                 mvaddch((y - trail_length) as i32, x as i32, BLANK_CHAR as u8 as u64);
[INFO] [stdout]     |                                                              ^^^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `u64`
[INFO] [stdout]     |
[INFO] [stdout] help: you can convert a `u64` to a `u32` and panic if the converted value doesn't fit
[INFO] [stdout]     |
[INFO] [stdout] 106 |                 mvaddch((y - trail_length) as i32, x as i32, (BLANK_CHAR as u8 as u64).try_into().unwrap());
[INFO] [stdout]     |                                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0432, E0433, E0658.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `matrix`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "4313f29bc44bb7cbed36fbd5b1fb370000863012fbe9bbc823891411e01d2af2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4313f29bc44bb7cbed36fbd5b1fb370000863012fbe9bbc823891411e01d2af2", kill_on_drop: false }`
[INFO] [stdout] 4313f29bc44bb7cbed36fbd5b1fb370000863012fbe9bbc823891411e01d2af2
